{template "content","header"}
<script type="text/javascript">
var $catid = ''
</script>
<?php
   $catid=6;
?>
{template "content","top_connect"}
<div class="bui-box container">
    <div ga_event="channel_click" class="bui-left index-channel">
        <div class="navbar-wrapper" style="padding-top:10px">
            <div class="channel">
                <a href="/" class="logo"><img src="/logo.png" alt="今日头条" style="width: 108px; height: 27px;"></a>
                <ul>
                    <li><a class="channel-item isactives active" href="{siteurl($siteid)}">头条</a></li>
                    {pc:content action="category" catid="0" num="25" siteid="$siteid" order="listorder ASC"}
                    {loop $data $r}
                    {if $r[modelid]==1}
                    <li><a class="channel-item isactives" href="{$r[url]}">{$r[catname]}</a></li>
                    {/if}
                    {/loop}
                    {/pc}
                </ul>
            </div>
        </div>
    </div>
    <div class="bui-left index-content" id="bui-left">
        <div class="bui-box slide" id="is_slide">
            {pc:content action="position" posid="2" order="listorder DESC" num="6"}
            <ul class="slide-list bui-left">
                {loop $data $key $val}
                {if $n =='1'}
                <li class="slide-item slide-item-active">
                    <a href="{$val['url']}" target="_blank"><img src="{$val['thumb']}" alt="{$val['title']}">
                        <p class="title">{$val['title']}</p>
                    </a>
                </li>
                {else}
                <li class="slide-item">
                    <a href="{$val['url']}" target="_blank"><img src="{$val['thumb']}" alt="{$val['title']}">
                        <p class="title">{$val['title']}</p>
                    </a>
                </li>
                {/if}
                {/loop}
            </ul>
            {/pc}
            <ul class="slide-tab bui-right">
                <li class="slide-tab-item slide-tab-item-active">国内</li>
                <li class="slide-tab-item">国际</li>
                <li class="slide-tab-item">社会</li>
                <li class="slide-tab-item">军事</li>
                <li class="slide-tab-item">娱乐</li>
                <li class="slide-tab-item">时尚</li>
            </ul>
        </div>
        <div class="feed-infinite-wrapper" id="infinite-wrapper">
            <div class="loading ball-pulse">
                <div></div>
                <div></div>
                <div></div>
                <span>推荐中⋅⋅⋅</span>
            </div>
            <div class="list_ul">
                <ul id="is_listul"></ul>
            </div>
            <div class="loading ball-pulse" style="display: none;">
                <div></div>
                <div></div>
                <div></div>
                <span>加载中⋅⋅⋅</span>
            </div>
        </div>
    </div>
    <div id="rightModule" class="bui-right index-right-bar">
        {template "content","right_connect"}
    </div>
</div>
{template "content","footer"}